#ifndef DCMIMPORTINTERFACE_H
#define DCMIMPORTINTERFACE_H

#include <QObject>
class QJsonObject;

typedef void (*DcmImportProc)(const QJsonObject &json, void *userData);

class DcmImportInterface
{
public:
    virtual ~DcmImportInterface() {}

    virtual QObject *getObject() = 0;
    virtual void setDcmImportHook(DcmImportProc proc, void *userData) = 0;

};

#define DcmImportPlugin_iid "com.zmg.dr.plugin.dcmimport.v100"
Q_DECLARE_INTERFACE(DcmImportInterface, DcmImportPlugin_iid)

#endif // DCMIMPORTINTERFACE_H
